const addServiceFormList = [
  { label: '服务日期', prop: "a", type: 'date', value: '', option: '', colSpan: '12', width: '', disabled: false, },
  { label: '服务方式', prop: "b", type: 'select', value: '', option: 'serviceModeList', colSpan: '12', width: '', disabled: false, },
  { label: '是否联系到客户', prop: "c", type: 'radio', value: '', option: 'contactList', colSpan: '24', width: '', disabled: false, },
  { label: '主管是否陪访', prop: "d", type: 'radio', value: '', option: 'whetherList', colSpan: '24', width: '', disabled: false, },
  { label: '客户交费意愿', prop: "e", type: 'radio', value: '', option: 'toPayList', colSpan: '24', width: '', disabled: false, },
  { label: '预估交费日期', prop: "f", type: 'radio', value: '', option: 'payFeeList', colSpan: '24', width: '', disabled: false, },
  { label: '不愿交费原因', prop: "g", type: 'checkbox', value: [], option: 'noPayReasonList', colSpan: '24', width: '', disabled: false, },
  { label: '联系失败原因', prop: "h", type: 'radio', value: '', option: 'contactFailList', colSpan: '24', width: '', disabled: false, },
  { label: '服务过程记录', prop: "i", type: 'textarea', tagValue: [], value: '', option: 'serviceProcessList', colSpan: '24', width: '', disabled: false, },
  { label: '工作证明文件', prop: "j", type: 'upload', value: '', option: '', colSpan: '24', width: '', disabled: false, },
  { label: '是否继续跟进服务', prop: "k", type: 'radio', value: '', option: 'whetherList', colSpan: '24', width: '', disabled: false, },
  { label: '计划服务日期', prop: "l", type: 'date', value: '', option: '', colSpan: '12', width: '', disabled: false, },
  { label: '计划服务方式', prop: "m", type: 'select', value: '', option: 'serviceModeList', colSpan: '12', width: '', disabled: false, },
  { label: '是否需要主管陪访', prop: "n", type: 'radio', value: '', option: 'isNeedList', colSpan: '24', width: '', disabled: false, },
]

const addServiceRules = {
  a: { required: true, message: '请选择服务日期', trigger: ['blur', 'change']},
  b: { required: true, message: '请选择服务方式', trigger: ['blur', 'change']},
  c: { required: true, message: '请选择是否联系到客户', trigger: ['blur', 'change']},
  d: { required: true, message: '请选择主管是否陪访', trigger: ['blur', 'change']},
  e: { required: true, message: '请选择客户交费意愿', trigger: ['blur', 'change']},
  f: { required: true, message: '请选择预估交费原因', trigger: ['blur', 'change']},
  g: { required: true, message: '请选择不愿交费原因', trigger: ['blur', 'change']},
  h: { required: true, message: '请选择联系失败原因', trigger: ['blur', 'change']},
}

const addServiceOption = {
  serviceModeList: [
    {dictValue: '1', dictLabel: '电话联系客户'},
    {dictValue: '2', dictLabel: '网络联系客户'},
    {dictValue: '3', dictLabel: '面访客户'},
    {dictValue: '4', dictLabel: '电话联系业务员'},
    {dictValue: '5', dictLabel: '网络联系业务员'},
    {dictValue: '6', dictLabel: '面访业务员'},
  ],
  contactList: [
    {dictValue: '1', dictLabel: '联系成功'},
    {dictValue: '0', dictLabel: '联系失败'},
  ],
  whetherList: [
    {dictValue: '1', dictLabel: '是'},
    {dictValue: '0', dictLabel: '否'},
  ],
  toPayList: [
    {dictValue: '1', dictLabel: '愿意'},
    {dictValue: '0', dictLabel: '不愿意'},
    {dictValue: '2', dictLabel: '暂不确定'},
  ],
  payFeeList: [
    {dictValue: '1', dictLabel: '当月交费'},
    {dictValue: '2', dictLabel: '宽一交费'},
    {dictValue: '3', dictLabel: '宽末交费'},
  ],
  noPayReasonList: [
    {dictValue: '1', dictLabel: '人情单'},
    {dictValue: '2', dictLabel: '服务不满意'},
    {dictValue: '3', dictLabel: '产品不理想'},
    {dictValue: '4', dictLabel: '销售品质问题'},
    {dictValue: '5', dictLabel: '经济困难'},
    {dictValue: '6', dictLabel: '家庭原因'},
    {dictValue: '7', dictLabel: '客户移民'},
    {dictValue: '8', dictLabel: '理赔不满意'},
    {dictValue: '9', dictLabel: '同业竞品'},
    {dictValue: '10', dictLabel: '其他'},
  ],
  contactFailList: [
    {dictValue: '1', dictLabel: '空/错号'},
    {dictValue: '2', dictLabel: '无人接听/拒接'},
    {dictValue: '3', dictLabel: '地址不完整'},
  ],
  serviceProcessList: [
    {dictValue: '1', dictLabel: '向客户进行保单讲解'},
    {dictValue: '2', dictLabel: '客户暂不确定交费时间'},
    {dictValue: '3', dictLabel: '客户表示已知悉'},
    {dictValue: '4', dictLabel: '客户计划换其他产品'},
    {dictValue: '5', dictLabel: '客户有加保意愿'},
    {dictValue: '6', dictLabel: '客户服务难度大'},
    {dictValue: '7', dictLabel: '协助办理理赔手续'},
    {dictValue: '8', dictLabel: '协助办理保全手续'},
  ],
  isNeedList: [
    {dictValue: '1', dictLabel: '需要'},
    {dictValue: '0', dictLabel: '不需要'},
  ],
}

const showTaskArr1 = [
  { label: '【应交期续收】', type: 'info', value: '相伴一生A款终身寿险', colSpan: '16',},
  { label: '是否同步录入', type: 'showSwitch', value: true, colSpan: '8', labelColor: 'rgb(8, 117, 255)' },
  { label: '保单号:', type: 'info', value: '183772110012', colSpan: '8' },
  { label: '应交日期:', type: 'info', value: '2024-05-22', colSpan: '8' },
  { label: '应交保费:', type: 'info', value: '10800.00 元', colSpan: '8' },
]

const showTaskArr2 = [
  { label: '【失效件】', type: 'info', value: '相伴一生B款终身寿险', colSpan: '16' },
  { label: '是否同步录入', type: 'showSwitch', value: false, colSpan: '8', labelColor: 'rgb(8, 117, 255)' },
  { label: '保单号:', type: 'info', value: '180147822194', colSpan: '8' },
  { label: '应交日期:', type: 'info', value: '2023-09-16', colSpan: '8' },
  { label: '应交保费:', type: 'info', value: '9800.00 元', colSpan: '8' },
]

export {
  addServiceFormList, addServiceRules, addServiceOption, showTaskArr1, showTaskArr2
}
